export enum WinName {
  Simulation = "simulation",
  MainWindow = "MainWindow",
}

export enum SubWinName {
  ImageSwitcher = 'image-switcher',
  UIFrame = 'ui-frame',
  ExportActPinData = 'ExportActPinData',
  Charts = 'Charts',
  Timeline = 'Timeline'
}

export enum SubWinStatus {
  Active = 'Active',
  Frozen = 'Frozen',
}

export type SubWinQueryParams = {
  projectId: string
  modelId: string
  type: string
}

export enum SimFrameToSubChannel {
  "UI_Frame_Change" = 'UI_Frame_Change',
  "ActChangeExportInfo" = 'ActChangeExportInfo',
  "SimInit" = 'SimInit',
  "ImageSwitcherSwitch" = 'ImageSwitcherSwitch',
  "UpdateChartsData" = 'UpdateChartsData',
  "SimStatusChange" = 'SimStatusChange',
  "TimelineStatusUpdate" = 'TimelineStatusUpdate',
  "TimelineActivityUpdate" = 'TimelineActivityUpdate',
}

export enum SimSubwinMsgToSimWin {
  "ExportActPinDataClose" = 'ExportActPinDataClose',
  "SubMounted" = "SubMounted",
  "TimeLineKeepOpen" = "TimeLineKeepOpen",
  "TimeSeryKeepOpen" = "TimeSeryKeepOpen",
}

export type SimSubwinMsgToSimWinData = {
  type: SimSubwinMsgToSimWin,
  data?: any
}
